﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Entidades;
using Negocio;

namespace Presentación
{
    public partial class MostrarGrilla : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                PalabraNegocio palabraNeg = new PalabraNegocio();
                mostrarGrillaGridView.DataSource = palabraNeg.Obtener(int.Parse(Request.QueryString["idGrilla"]));
                mostrarGrillaGridView.DataBind();
            }
        }
    }
}